package com.xw.userService.enums;

/**
 * 提示参数枚举
 * @author xiaoshengda
 *
 */
public class ResultCodeEnum {

	public enum System {
		/**
		 * 系统保留100以下的错误码
		 */
		SUCCESS("000000", "成功"),

		PARAM_NULL("000002", "参数为空"),

		PARAM_ERROR("000003", "参数非法"),
		
		SYSTEM_ERROR("999999", "系统异常"),
		
		SYSTEM_RESPONSE("555555", "系统真正努力响应！请稍后！！！");

		private String code;

		private String msg;

		private System(String code, String msg) {
			this.code = code;
			this.msg = msg;
		}

		public String getCode() {
			return code;
		}

		public void setCode(String code) {
			this.code = code;
		}

		public String getMsg() {
			return msg;
		}

		public void setMsg(String msg) {
			this.msg = msg;
		}
	}

	
	
	
}
